package com.egg.common.spring.config;

import com.egg.common.spring.util.SpringContextUtil;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * spring工具类 方便在非spring管理环境中获取bean
 *
 * @author east
 **/
@Configuration
public class SpringContextConfigurationConfig {


    @Bean
    public SpringContextUtil springContextUtil() {
        return new SpringContextUtil();
    }


}
